public class Car {
    private String brand;
    private double essimion;
    private int price;
    public Car(){};
    public Car(String brand, double essimion, int price)
    {
        this.brand = brand;
        this.essimion = essimion;
        this.price = price;
    }
    public void getInfo()
    {
        System.out.println("品牌是" + this.brand);
        System.out.println("排放量是" + this.essimion + 'L');
        System.out.println("价格是" + this.price + "万");
    }
    public String getBrand()
    {
        return this.brand;
    }
    public void Starting(String brand)
    {
        System.out.print(",启动一辆" + brand);
    }
}
